home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / man / catn / unset.n < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. unset(n)              Tcl Built-In Commands
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NAME
  11.      unset - Delete variables
  12.  
  13. SYNOPSIS
  14.      unset _n_a_m_e ?_n_a_m_e _n_a_m_e ...?
  15. _________________________________________________________________
  16.  
  17.  
  18. DESCRIPTION
  19.      This command removes one or more variables.  Each _n_a_m_e is  a
  20.      variable  name,  specified  in any of the ways acceptable to
  21.      the set command.  If a _n_a_m_e refers to an element of an array
  22.      then  that  element is removed without affecting the rest of
  23.      the array.  If a _n_a_m_e consists of  an  array  name  with  no
  24.      parenthesized  index, then the entire array is deleted.  The
  25.      unset command returns an empty string as result.   An  error
  26.      occurs  if any of the variables doesn't exist, and any vari-
  27.      ables after the non-existent one are not deleted.
  28.  
  29.  
  30. KEYWORDS
  31.      remove, variable
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Tcl                                                             1
  64.  
  65.  
  66.  
  67.